package com.smasher.domain.room

import androidx.room.Database
import androidx.room.RoomDatabase
import com.smasher.domain.entity.BeanDomain

@Database(
    entities = [
        BeanDomain::class
    ],
    version = 2,
    exportSchema = true
)
abstract class AppDataBase : RoomDatabase() {

    /**
     * 该方法由于获得 userDao 对象
     * abstract
     *
     * @return Dao
     */
    abstract fun domainDao(): DomainDao

}
